package com.gxa.modules.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("贷款查询条件信息")
public class LoanSearch extends Loan{
    //  搜索时用的时间范围
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    requestbody接收的时间数据只能用@JsonFormat
//    键值对用@DateTimeFormat接收
    @ApiModelProperty(name = "application_startDate",notes = "查询条件的起始时间",dataType = "Integer",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date application_startDate;
    @ApiModelProperty(name = "application_endDate",notes = "查询条件的结束时间",dataType = "Integer",required = false)
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private Date application_endDate;
    @ApiModelProperty(name = "customer_name",notes = "客户姓名",dataType = "Integer",required = false)
    private String customer_name;
    @ApiModelProperty(name = "customer_phone",notes = "客户电话号码",dataType = "Integer",required = false)
    private String customer_phone;
    @ApiModelProperty(name = "loan_state",notes = "借款状态，集合类型",dataType = "Integer",required = false)
    private List<Integer> loan_state;
//    private String type;
    private String con_no;
    private String phone;
    private String loanafter_group;
    private String starttime;
    private String stoptime;

//    财务款项查询条件
//    放款时间
    //对账状态
    private Long reconciliation_state;
    //台账类型
    private long parameter_state;



}
